package service;

import pojo.Plan;
import pojo.Test;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

public interface UsecaseService {
    public <T> int saveUsecase(Class<T> clazz, Plan plan, T usecase) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException, SQLException;
    public List<Test> getAllUsecase(String uid) throws SQLException;
}
